<?php defined("MAIN_DIR") or die("No direct access");

$category_id = UV::readInt($route->getPath(4));
$db->sendQuery("delete from `vacancy_categories` where `category_id` = '$category_id' limit 1");

to("/admin/categories/");

?>